/*
 * AccountEvent.cpp
 *
 *  Created on: 24.07.2009
 *      Author: h3llfire
 */

#include "AccountEvent.h"

namespace Impp {

DEFINE_EVENT_TYPE(EVT_ACCOUNT)

AccountEvent::AccountEvent(Account* account, AccountEventType type, wxEventType eventType, int id) :
	wxNotifyEvent(eventType,id),
	account(account),
	type(type){

}

AccountEvent::~AccountEvent() {

}

wxEvent* AccountEvent::Clone() const{
	return new AccountEvent(*this);
}

Account* AccountEvent::getAccount() const{
	return account;
}
AccountEventType AccountEvent::getAccountEventType()const{
	return type;
}

}
